package com.eascs.deploy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eascs.deploy.dao.DeployFileDao;
import com.eascs.deploy.entity.O2oDeployFile;
import com.eascs.deploy.entity.O2oDeployFileLink;
import com.eascs.deploy.service.DeployFileService;

@Service
public class DeployFileServiceImpl implements DeployFileService {
	
	@Autowired
	DeployFileDao deployFileDao;
	@Override
	public List<O2oDeployFileLink> deployFile(String banktypeId, String formTypeId) {
		
		return deployFileDao.deployFile(banktypeId, formTypeId);
	}
	@Override
	public List<O2oDeployFile> findAllFiles() {
		return deployFileDao.findAllFiles();
	}
	@Override
	public String findId(String code) {
		// TODO Auto-generated method stub
		return deployFileDao.findId(code);
	}
	@Override
	public void insertFile(O2oDeployFileLink entity) {
		// TODO Auto-generated method stub
		deployFileDao.insert(entity);
	}
	@Override
	public void deleteFile(String bankTypeId, String formTypeId) {
		// TODO Auto-generated method stub
		deployFileDao.deleteFile(bankTypeId, formTypeId);
	}
	



}
